package com.xxd.spring.boot.demo.lihonghai.entity;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xxd.spring.boot.demo.lihonghai.vo.StudentCurriculumFractionVo;

import java.util.List;

@TableName("student")
public class Student {
    private Integer  id;
    private Integer age;

    public List<StudentCurriculumFractionVo> getScfVoList() {
        return scfVoList;
    }

    public void setScfVoList(List<StudentCurriculumFractionVo> scfVoList) {
        this.scfVoList = scfVoList;
    }

    @TableField(exist = false)
    private List<StudentCurriculumFractionVo> scfVoList;

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @TableField(fill = FieldFill.INSERT)
    private String   createBy;
    @TableField(fill = FieldFill.INSERT)
    private String createTime;

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    @TableField(fill = FieldFill.UPDATE)
    private String updateBy;
    @TableField(fill = FieldFill.UPDATE)
    private String  updateTime;
    private Integer  num;
    private String name;
    private String sex;
    private String address;
    @TableField(value = "classes_id")
    private Integer classId;
    @TableField(exist = false)
    private String classesNickName;
    @TableField(exist = false)
    private Integer classesCode;

    public void setClassId (Integer classId) { this.classId=classId; }

    public void setId (Integer id) { this.id = id; }

    public String getClassesNickName() {
        return classesNickName;
    }

    public Integer getClassesCode() {
        return classesCode;
    }

    public void setClassesNickName(String classesNickName) {
        this.classesNickName = classesNickName;
    }

    public void setClassesCode(Integer classesCode) {
        this.classesCode = classesCode;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getClassId() {
        return classId;
    }

    public Integer getId() {
        return id;
    }

    public Integer getNum() {
        return num;
    }

    public String getName() {
        return name;
    }

    public String getSex() {
        return sex;
    }

    public String getAddress() {
        return address;
    }
}
